package com.wetao.trackscreendemo;

import android.content.Context;
import android.content.Intent;


/**
 * ComUtil
 */
public class ComUtil {

    //mode值传0进入AUTO模式,值为-1切换普通模式
    public static void setWindowEpdMode(Context context, int mode) {
        Intent intent = new Intent("com.flash.force_epd_mode");
        intent.putExtra("mode", mode);
        context.sendBroadcast(intent);
    }

}
